package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.masa.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_SCREEN_MESSAGE_DISTRIBUTE")
@ApiModel(value = "大屏-消息分发表")
public class ScreenMessageDistribute extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value="序号，用于排序")
    @TableField(value ="SORT")
    @JsonProperty(value = "sort")
    private Long sort;

    @ApiModelProperty(value="展示标题")
    @TableField(value ="TITLE")
    @JsonProperty(value = "title")
    private String title;

    @ApiModelProperty(value="创建人")
    @TableField(value ="CREATE_PERSON_NO")
    @JsonProperty(value = "createPerson")
    private String createPerson;

    @ApiModelProperty(value="数据状态")
    @TableField(value ="STATUS")
    @JsonProperty(value = "status")
    private String status;

    @ApiModelProperty(value="主体内容")
    @TableField(value ="MAIN_BODY")
    @JsonProperty(value = "mainBody")
    private String mainBody;

    @ApiModelProperty(value="关区GUID，源自H4A")
    @TableField(value ="CUSTOM_ID")
    @JsonProperty(value = "customId")
    private String customId;

    @ApiModelProperty(value="关区中文名称")
    @TableField(value ="CUSTOM_NAME")
    @JsonProperty(value = "customName")
    private String customName;

    @ApiModelProperty(value="经验发布时间")
    @TableField(value ="EXPERIENCE_TIME")
    @JsonProperty(value = "experienceTime")
    private LocalDateTime experienceTime;

    @ApiModelProperty(value="置顶标识：1.置顶；0.不置顶")
    @TableField(value ="IS_TOPPING")
    @JsonProperty(value = "isTopping")
    private String isTopping;




}
